package com.stock.dao;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Buysave entity. @author MyEclipse Persistence Tools
 */

public class Buysave implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userName;
	private String number;
	private Date buyDate;
	private BigDecimal buyPrice;
	private Integer buyQty;
	private BigDecimal buyAmount;
	private Date buyTime;
	private Date saleDate;
	private Date saleTime;
	private Integer saleQty;
	private BigDecimal salePrice;
	private BigDecimal saleAmount;
	private Integer ownQty;
	private BigDecimal ownAmount;
	private BigDecimal benifit;

	// Constructors

	/** default constructor */
	public Buysave() {
	}

	/** full constructor */
	public Buysave(String userName, String number, Date buyDate,
			BigDecimal buyPrice, Integer buyQty, BigDecimal buyAmount, Date buyTime,
			Date saleDate, Date saleTime, Integer saleQty, BigDecimal salePrice,
			BigDecimal saleAmount, Integer ownQty, BigDecimal ownAmount, BigDecimal benifit) {
		this.userName = userName;
		this.number = number;
		this.buyDate = buyDate;
		this.buyPrice = buyPrice;
		this.buyQty = buyQty;
		this.buyAmount = buyAmount;
		this.buyTime = buyTime;
		this.saleDate = saleDate;
		this.saleTime = saleTime;
		this.saleQty = saleQty;
		this.salePrice = salePrice;
		this.saleAmount = saleAmount;
		this.ownQty = ownQty;
		this.ownAmount = ownAmount;
		this.benifit = benifit;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getNumber() {
		return this.number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Date getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	public BigDecimal getBuyPrice() {
		return this.buyPrice;
	}

	public void setBuyPrice(BigDecimal buyPrice) {
		this.buyPrice = buyPrice;
	}

	public Integer getBuyQty() {
		return this.buyQty;
	}

	public void setBuyQty(Integer buyQty) {
		this.buyQty = buyQty;
	}

	public BigDecimal getBuyAmount() {
		return this.buyAmount;
	}

	public void setBuyAmount(BigDecimal buyAmount) {
		this.buyAmount = buyAmount;
	}

	public Date getBuyTime() {
		return this.buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public Date getSaleDate() {
		return this.saleDate;
	}

	public void setSaleDate(Date saleDate) {
		this.saleDate = saleDate;
	}

	public Date getSaleTime() {
		return this.saleTime;
	}

	public void setSaleTime(Date saleTime) {
		this.saleTime = saleTime;
	}

	public Integer getSaleQty() {
		return this.saleQty;
	}

	public void setSaleQty(Integer saleQty) {
		this.saleQty = saleQty;
	}

	public BigDecimal getSalePrice() {
		return this.salePrice;
	}

	public void setSalePrice(BigDecimal salePrice) {
		this.salePrice = salePrice;
	}

	public BigDecimal getSaleAmount() {
		return this.saleAmount;
	}

	public void setSaleAmount(BigDecimal saleAmount) {
		this.saleAmount = saleAmount;
	}

	public Integer getOwnQty() {
		return this.ownQty;
	}

	public void setOwnQty(Integer ownQty) {
		this.ownQty = ownQty;
	}

	public BigDecimal getOwnAmount() {
		return this.ownAmount;
	}

	public void setOwnAmount(BigDecimal ownAmount) {
		this.ownAmount = ownAmount;
	}

	public BigDecimal getBenifit() {
		return this.benifit;
	}

	public void setBenifit(BigDecimal benifit) {
		this.benifit = benifit;
	}

}